package com.md.api.dao;

import com.md.api.entity.TbOrderVirtually;
import java.util.List;

public interface TbOrderVirtuallyMapper {
    int deleteByPrimaryKey(String orderNo);

    int insert(TbOrderVirtually record);

    TbOrderVirtually selectByPrimaryKey(String orderNo);

    Double getTotalEffectiveStorage(String userId);
    Integer getTotalEffectiveFaceTimes(String userId);
    Integer getTotalEffectiveAITimes(String userId);

    List<TbOrderVirtually> selectAll();

    int updateByPrimaryKey(TbOrderVirtually record);
}